import java.util.*;
/**
 * This example shows how a program can crash if the user enters
 * something unexpected.
 * 
 * 
 * @author Amrita Mukherjee
 * @version 10/16/2012
 */
public class TryToCrashMe
{
    public static void main(String[] args)
    {
       //create a scanner object
       Scanner kb = new Scanner(System.in);
       
       //prompt the user
       System.out.print("How old are you? ");
       
       //Now, input the user's response
       int age = kb.nextInt();
       
       //now simple output what the user entered
       System.out.println("you entered: " + age);
       
    }
}
/*
 * My test session:
 * How old are you? 10
you entered: 10

 */